package com.lanhe.identifier.domain;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lanhe.common.annotation.Excel;
import com.lanhe.common.core.domain.BaseEntity;

/**
 * 识别码（绑定）(LhIdentifierBind)表实体类
 *
 * @author zhanggl
 * @since 2023-09-19 09:45:39
 */
public class LhIdentifierBind extends BaseEntity {

    /** 识别码绑定id */
    @Excel(name = "序号", cellType = Excel.ColumnType.NUMERIC, prompt = "识别码编号")
    private Long identifierBindId;

    /** 识别码绑定日志id */
    private Long identifierBindLogId;

    /** 识别码绑定日志ids */
    private Long[] identifierBindLogIds;

    /** 小组id */
    private Long groupId;

    /** 小组名称 */
    @Excel(name = "小组名称", type = Excel.Type.IMPORT)
    private String groupName;

    /** 老师id */
    private Long teacherId;

    /** 老师名称 */
    @Excel(name = "老师名称")
    private String teacherName;

    /** 识别码id */
    private Long identifierId;

    /** 识别码 */
    @Excel(name = "识别码")
    private String identifier;

    /** 学员 */
    @Excel(name = "学员")
    private String student;

    /** 付款凭证 */
    private String paymentVoucher;

    /** 支付平台（1微信 2支付宝） */
    private String platform;

    /** 支付平台（1微信 2支付宝） */
    @Excel(name = "支付平台")
    private String platformName;

    /** 单价 */
    @Excel(name = "单价")
    private Integer price;

    /** 限期(天) */
    @Excel(name = "限期(天)")
    private Integer deadline;

    /** 限期(时间) */
    private String deadlineTime;

    /** 是否使用（0否 1是） */
    private String isUse;

    /** 是否使用（0否 1是） */
    @Excel(name = "是否使用")
    private String isUseName;

    /** 状态（0正常 1禁用） */
    private String status;


    /** 状态（0正常 1禁用） */
    @Excel(name = "状态")
    private String statusName;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 使用时间 */
    @Excel(name = "使用时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date usageTime;


    public Long getIdentifierBindId() {
        return identifierBindId;
    }

    public void setIdentifierBindId(Long identifierBindId) {
        this.identifierBindId = identifierBindId;
    }

    public Long[] getIdentifierBindLogIds() {
        return identifierBindLogIds;
    }

    public void setIdentifierBindLogIds(Long[] identifierBindLogIds) {
        this.identifierBindLogIds = identifierBindLogIds;
    }

    public Long getIdentifierBindLogId() {
        return identifierBindLogId;
    }

    public void setIdentifierBindLogId(Long identifierBindLogId) {
        this.identifierBindLogId = identifierBindLogId;
    }

    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public Long getIdentifierId() {
        return identifierId;
    }

    public void setIdentifierId(Long identifierId) {
        this.identifierId = identifierId;
    }

    public String getIdentifier() {
        return identifier;
    }

    public void setIdentifier(String identifier) {
        this.identifier = identifier;
    }

    public String getStudent() {
        return student;
    }

    public void setStudent(String student) {
        this.student = student;
    }

    public String getPaymentVoucher() {
        return paymentVoucher;
    }

    public void setPaymentVoucher(String paymentVoucher) {
        this.paymentVoucher = paymentVoucher;
    }

    public String getPlatform() {
        return platform;
    }

    public void setPlatform(String platform) {
        this.platform = platform;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getDeadline() {
        return deadline;
    }

    public void setDeadline(Integer deadline) {
        this.deadline = deadline;
    }

    public String getIsUse() {
        return isUse;
    }

    public void setIsUse(String isUse) {
        this.isUse = isUse;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public Date getUsageTime() {
        return usageTime;
    }

    public void setUsageTime(Date usageTime) {
        this.usageTime = usageTime;
    }

    public String getPlatformName() {
        return platformName;
    }

    public void setPlatformName(String platformName) {
        this.platformName = platformName;
    }

    public String getIsUseName() {
        return isUseName;
    }

    public void setIsUseName(String isUseName) {
        this.isUseName = isUseName;
    }

    public String getStatusName() {
        return statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    public String getDeadlineTime() {
        return deadlineTime;
    }

    public void setDeadlineTime(String deadlineTime) {
        this.deadlineTime = deadlineTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("identifierBindId", getIdentifierBindId())
                .append("identifierBindLogId", getIdentifierBindLogId())
                .append("groupId", getGroupId())
                .append("groupName", getGroupName())
                .append("teacherId", getTeacherId())
                .append("teacherName", getTeacherName())
                .append("identifierId", getIdentifierId())
                .append("identifier", getIdentifier())
                .append("student", getStudent())
                .append("paymentVoucher", getPaymentVoucher())
                .append("platform", getPlatform())
                .append("platformName", getPlatformName())
                .append("price", getPrice())
                .append("deadline", getDeadline())
                .append("isUse", getIsUse())
                .append("isUseName", getIsUseName())
                .append("status", getStatus())
                .append("statusName", getStatusName())
                .append("delFlag", getDelFlag())
                .append("usageTime", getUsageTime())
                .toString();
    }

}

